package com.demo.dto.response;

import io.swagger.annotations.ApiModelProperty;

/**
 * Created by Administrator on 2016/4/29.
 */
public class URLIndexResponse {

    @ApiModelProperty(value = "操作是否成功", required = true)
    private boolean flag;

    @ApiModelProperty(value = "返回值", required = true)
    private String result;

    public URLIndexResponse() {
    }

    public URLIndexResponse(boolean flag, String result) {
        this.flag = flag;
        this.result = result;
    }

    public boolean isFlag() {
        return flag;
    }

    public void setFlag(boolean flag) {
        this.flag = flag;
    }

    public String getResult() {
        return result;
    }

    public void setResult(String result) {
        this.result = result;
    }
}
